package com.stormrage.edu.serv.adm;

import java.util.List;
import java.util.Set;

import com.stormrage.entity.adm.AdmAcct;
import com.stormrage.entity.adm.AdmRes;
import com.stormrage.entity.adm.rep.AdmAcctRep;
import com.stormrage.entity.adm.rep.AdmPermsRep;
import com.stormrage.entity.adm.req.AdmAcctReq;
import com.stormragetech.core.exception.StormrageTechException;

public interface AdmAcctServ {

	public Integer create(AdmAcctReq arg0) throws StormrageTechException;

	public void update(AdmAcct arg0) throws StormrageTechException;

	public void updatePass(AdmAcctReq arg0) throws StormrageTechException;

	public void updateLocked(Integer arg0) throws StormrageTechException;

	public void updateRole(AdmAcctReq arg0) throws StormrageTechException;

	public AdmAcct queryById(Integer arg0) throws StormrageTechException;

	public AdmAcct queryByAcct(String arg0) throws StormrageTechException;

	public AdmAcct queryByAcctLock(String arg0) throws StormrageTechException;

	public Set<String> queryPermSet() throws StormrageTechException;

	public Set<String> queryPermSetById(Integer arg0) throws StormrageTechException;

	public List<AdmRes> queryMenuById(Integer arg0) throws StormrageTechException;

	public List<AdmRes> queryRoleMenuById(Integer arg0) throws StormrageTechException;

	public AdmPermsRep queryPermsRep(Integer arg0) throws StormrageTechException;

	public List<AdmAcctRep> queryList() throws StormrageTechException;

}
